package StudyCode.summary.Basic.myarray;

import java.util.Arrays;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ArraysSort {
	public static void main(String[] args) {
		int[] data1 = new int[]{356, 35, 2, 4, 7, 44545, 78};
		int[] data2 = new int[]{356, 35, 2, 4, 7, 44545, 78};

		Arrays.sort(data1);
		System.out.println(Arrays.toString(data1));
		Arrays.sort(data2, 1, 6);
		System.out.println(Arrays.toString(data2));
	}
}
